package com.wanxi.app;

import com.wanxi.app.controller.api.LoginApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import javax.annotation.Resource;
import java.util.Scanner;

import java.io.*;
/**
 * ClassName: Application
 * Description:
 * date: 2022/1/12 9:13
 *
 * @author lxl
 * @version 1.0
 * @since JDK 1.8
 */
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@EnableFeignClients(basePackages =
        {
                "com.wanxi.user.api",
                "com.wanxi.product.service.api",
                "com.wanxi.shop.api.feign",
                "com.wanxi.login.api",
                "com.wanxi.tool.api",
                "com.wanxi.coupon.api.feign",
                "com.wanxi.tool.api",
                "com.wanxi.orderApi",
                "com.wanxi.repertory.service.api"

        })
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
